package exception;

public class KNoMeaningException extends Exception {

    private String message = "";

    public KNoMeaningException(int n) {
        this.message = n + " is no a meaningful K for clustering, please set K more than 1";
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
